package cn.edu.scau.cmi.dengzejun.chapter05;

public class Lader {
	double above;
	double bootom;
	double height;
	double area;
	
	double ComputerArea() {
		area=(above+bootom)*height/2.0f;
		return area;
	}
	void SetHeight(double h) {
		height=h;
		return;
	}
	
}
